import request from "@/utils/request";

// 分页登录日志查询
export function listPageLoginLogs(data) {
  return request({
    url: "/login-log/pages",
    method: "get",
    params: data,
  });
}

// 批量删除登录日志
export function deleteLoginLogs(data) {
  return request({
    url: "/login-log",
    method: "delete",
    params: data,
  });
}

// 删除登录日志
export function deleteLoginLog(data) {
  return request({
    url: "/login-log/" + data,
    method: "delete",
  });
}
